package com.lbd.system.bean;

import com.lbd.base.bean.AbstractEntity;
import lombok.*;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Lob;

@Getter
@Setter
@ToString
@NoArgsConstructor
@DynamicUpdate
@Entity
public class Recruitment extends AbstractEntity {
    //岗位类别
    private String jobType;
    //内容
    @Lob
    private String content;
    //状态
    private String state;

    public Recruitment(String id, String jobType, String state) {
        this.id = id;
        this.jobType = jobType;
        this.state = state;
    }
}
